package com.VolunteerPlatform.Service.TeamService;

import com.VolunteerPlatform.Entity.TeamInfo;

import java.io.IOException;
import java.util.List;

/**
 * Created by DoveXL on 2018/12/9.
 */
public interface TeamInfoService {

    public List<TeamInfo> getAllTeamInfoService(String TeamName,int Page,int PageList);

    public int insertTeamInfoService(String TeamName,int TeamNumber,String TeamLeading,String LeadingPhonenum);

    public int updateTeamInfoService(String OriginTeamName,String TeamName,int TeamNumber,String TeamLeading,String LeadingPhonenum);

    public int deleteTeamInfoService(String TeamName);

    public int ImportBatchTeamInfoService(String filename) throws IOException;

    public int ExportTeamInfoService(String title,String[] rowName,List<String> checkFieldNameList,String filename) throws IOException;


}
